<script  language=javascript>  
function maxWin()
{
	try
	{
	 var b = top.screenLeft == 0;
	 var b = b && top.screen.availHeight - top.screenTop - top.body.offsetHeight - 20 == 0;
	 if(!b)
	 {
			var str = '<object id=Max classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">'
			str += '<param name="Command" value="Maximize"></object>';
			document.body.insertAdjacentHTML("beforeEnd",  str);
			document.getElementById("Max").Click();
		}
	}catch(e){}
}

var reloadCount = 0;
window.onfocus = add;
function add(){
	reloadCount++;
	alert(reloadCount);
	}

if (reloadCount > 1)
	window.opener.focus();

function Maximize() 
{
	window.innerWidth = screen.width;
	window.innerHeight = screen.height;
	window.screenX = 0;
	window.screenY = 0;
	alwaysLowered = false;
}

</script>  
 <body onload="Maximize();">
<a href="#" onclick="window.opener.focus();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>
<a href="#" onclick="window.close();">Close</a>

</body>